import imgPath from "@/assets/48.svg";
import { Button, Empty } from "antd";
import { useNavigate } from "react-router-dom";
const NotFount = () => {
	const navigate = useNavigate();
	const handleGoBack = () => {
		window.history.back();
	};

	return (
		<div className="flx-center content-box">
			<Empty
				imageStyle={{
					width: 550,
					height: 400
				}}
				image={imgPath}
				description={null}
			>
				<Button type="primary" onClick={handleGoBack}>
					回到上一页
				</Button>
			</Empty>
		</div>
	);
};
export default NotFount;
